package com.woniuxy.exam.mapper;

import com.woniuxy.commons.entity.PaperClassification;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author 余枭春
 * @Date 2020/7/18 14:22
 * @Description:
 **/
@Repository
public interface PaperClassificationMapper {

    List<PaperClassification> allPaperClassification(int ststus);

    PaperClassification findPaperClassificationById(int id);

    PaperClassification findPaperClassificationByName(String name);

    int insertPaperClassification(PaperClassification paperClassification);

    int updataPaperClassificationNameById(PaperClassification paperClassification);

    int deletePaperClassificationById(int id);

    int updatePaperClassificationStatusById(PaperClassification paperClassification);
}
